import 'package:flutter/material.dart';

class CurrentIndexProvider with ChangeNotifier {
  int current = 0;
  void setCurrent(int index) {
    if (current != index) {
      current = index;
    }
    notifyListeners();
  }
}